<script setup>
import Header from "@/options/views/wel/Header.vue";
import Content from "@/options/views/wel/Content.vue";
import Footer from "@/options/views/wel/Footer.vue";
</script>

<template>
  <div class="options-app">
    <Header />

    <div class="app-body">
      <Content />
    </div>

    <Footer />
  </div>
</template>

<style scoped>
.options-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.app-header {
  background: white;
  border-bottom: 1px solid #e1e5e9;
  padding: 0 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
 /* max-width: 1200px;*/
  margin: 0 auto;
  padding: 16px 0;
}

.app-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn-primary {
  background-color: #1976d2;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #1565c0;
}

.btn-secondary {
  background-color: white;
  color: #5f6368;
  border: 1px solid #dadce0;
  border-radius: 6px;
  padding: 10px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: #f8f9fa;
}

.app-body {
  display: flex;
  flex: 1;

  margin: 0 auto;
  width: 100%;
  padding: 24px;
  gap: 24px;
}

.sidebar {
  width: 240px;
  flex-shrink: 0;
}

.main-content {
  flex: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.app-footer {
  background: white;
  border-top: 1px solid #e1e5e9;
  padding: 16px 24px;
  text-align: center;
  color: #5f6368;
  font-size: 14px;
}

@media (max-width: 768px) {
  .app-body {
    flex-direction: column;
    padding: 16px;
  }

  .sidebar {
    width: 100%;
  }

  .header-content {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .header-actions {
    align-self: flex-end;
  }
}
</style>